<template>
	<view class="layout">
		<!-- 进度条 -->
		<view class="aides">
			<view class="text-center">
				<image src="../../../static/image/dotblur.png" mode=""></image>
			</view>

			<view class="line"></view>

			<view class="Pending">
				<image src="../../../static/image/dotgrey.png" mode=""></image>
			</view>

			<view class="line"></view>

			<view class="Pending">
				<image src="../../../static/image/dotgrey.png" mode=""></image>
			</view>
		</view>
		<!-- 认证文字 -->
		<view class="title">
			<view class="author">
				<text>主体认证</text>
			</view>
			<view class="PendingAuthor">
				<text>选择等级</text>
			</view>
			<view class="PendingAuthor">
				<text>开始赚钱</text>
			</view>
		</view>
		<!-- 公告轮播 -->
		<view class="notice">
			<view class="left">
				<uni-icons type="sound-filled" size="20" color="#ec3d27"></uni-icons>
			</view>
			<view class="center">
				<swiper vertical autoplay interval="2000" duration="300" circular>
					<swiper-item>
						<navigator url="/pages/Home/Home">
							如开店有疑问可联系我们客服电话400-700-2100
						</navigator>
					</swiper-item>
					<swiper-item>
						<navigator url="/pages/Home/Home">
							如开店有疑问可联系我们客服电话400-700-2100
						</navigator>
					</swiper-item>
				</swiper>
			</view>
			<view class="right">
				<uni-icons type="right" size="16" color="#ec3d27"></uni-icons>
			</view>
		</view>
		<!-- 证件照 -->
		<view class="Tel">
			<text style="font-size: 30rpx;">营业执照照片</text>
			<!-- 文件上传总包 -->
			<view class="FileUpload">
				<!-- 正面上传 -->
				<view class="PositiveUpload">
					<uni-file-picker disable-preview :del-icon="false" return-type="object" :imageStyles="imageStyles"
						:listStyles="listStyles"></uni-file-picker>
					<text class="FileText">上传营业执照照片</text>
				</view>
			</view>

		</view>
		<!-- 证件内容 -->
		<view class="TheContentsOfTheCertificate">
			<view class="row">
				<text class="TelTitle">统一社会<br />信用代码</text>
				<input type="text" placeholder="15、18位字母或数字" placeholder-style="font-size:25rpx;color:#ccc;" />
			</view>
			<view class="row">
				<text class="TelTitle">有效期至</text>
				<input type="text" placeholder="请选择证件有效期截止时间" placeholder-style="font-size:25rpx;color:#ccc;" />
			</view>
			<view class="row">
				<text class="TelTitle">商户名称</text>
				<input type="text" placeholder="请填写执照上的商户名称" placeholder-style="font-size:25rpx;color:#ccc;" />
			</view>
			<view class="row">
				<text class="TelTitle">所在省市</text>
				<input type="text" placeholder="请选择证所在省市" placeholder-style="font-size:25rpx;color:#ccc;" />
			</view>
			<view class="row">
				<text class="TelTitle">详细地址</text>
				<input type="text" placeholder="营业执照上经营场所一栏的完整地址" placeholder-style="font-size:25rpx;color:#ccc;" />
			</view>
			<view class="BottomImage">
				<image src="../../../static/image/loggrey.png" mode=""></image>
				<text class="Labor">劳务通</text>
			</view>
		</view>

		<view class="Button">
			<button form-type="submit" type="primary" disabled="">下一步</button>
		</view>
	</view>
</template>

<script setup>
	import {
		reactive
	} from 'vue';

	const imageStyles = reactive({
		width: 200,
		height: 200,
		border: false
	})
</script>

<style lang="scss" scoped>
	.layout {
		padding: 10rpx 30rpx;

		.aides {
			padding: 0 140rpx;
			display: flex;
			align-items: center;

			.line {

				height: 3px;
				background-color: #ccc;
				flex: 1;
			}

			.text-center {

				display: flex;
				justify-content: center;
				align-items: center;

				image {
					width: 30rpx;
					height: 30rpx;
				}
			}

			.Pending {
				padding: 50rpx 0;

				image {
					width: 30rpx;
					height: 30rpx;
				}
			}
		}

		.title {
			margin-top: -20rpx;
			padding: 0 90rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;

			.author {
				color: #1296db;
			}
		}

		.notice {
			width: 100%;
			height: 60rpx;
			line-height: 60rpx;
			background-color: rgba(236, 93, 39, 0.1);
			margin: 30rpx auto;
			border-radius: 60rpx;
			display: flex;

			.left {
				display: flex;
				justify-content: space-evenly;
				align-items: center;
				width: 80rpx;
			}

			.center {
				flex: 1;

				swiper {
					height: 100%;

					&-item {
						height: 100%;
						font-size: 20rpx;
						color: #f26d4a;
						overflow: hidden;
						white-space: nowrap;
						text-overflow: ellipsis;
					}
				}
			}

			.right {
				width: 70rpx;
				display: flex;
				justify-content: center;
				align-items: center;
			}
		}

		.Tel {
			margin-top: 20rpx;
			height: 30vh;
			width: 100%;

			.FileUpload {
				margin-top: 30rpx;
				width: 100%;
				height: 100%;
				display: flex;
				justify-content: center;

				.PositiveUpload,
				{
				display: flex;
				text-align: center;
				flex-direction: column;
				height: 100%;
				width: 48%;
				height: 400rpx;
				border-radius: 10rpx;
				background-color: rgb(248, 248, 248);

				.FileText {
					margin-bottom: 50rpx;
					color: #999;
				}
			}
		}
	}

	.TheContentsOfTheCertificate {
		margin-top: 45rpx;
		padding: 20rpx 15rpx;

		.row {
			height: 70rpx;
			display: flex;
			align-items: center;
			padding: 15rpx;
			border-bottom: 1px solid #ccc;
			margin-bottom: 20rpx;

			.TelTitle {
				font-size: 30rpx;
				padding-right: 50rpx;
			}

			input {
				height: 100%;
			}
		}

		.BottomImage {
			padding: 50rpx;
			display: flex;
			justify-content: space-between;
			flex-direction: column;
			margin: 0 auto;

			image {
				width: 100rpx;
				height: 100rpx;
				margin: 20rpx auto 0;
			}

			.Labor {
				font-size: 28rpx;
				color: #C0C0C0;
				text-align: center;
			}
		}
	}




	.Button {
		margin-top: 20rpx;
	}

	}
</style>